const express = require("express");
const router = express.Router();
const services = require("./services.js");
router.post('/api/login',services.login);
//登录接口

//注册接口
router.post('/api/register',services.register);
//首页接口
router.post('/api/index',services.index);

//todo 
//查询
//分类
//购物车
//详情


module.exports = router;